---
http:
  port: <%= hm_port %>

mbus:
  endpoint: nats://localhost:<%= nats_port %>
  server_ca_path: <%= nats_certificate_paths['ca_path'] %>
  client_private_key_path: <%= nats_certificate_paths['clients']['health_monitor']['private_key_path'] %>
  client_certificate_path: <%= nats_certificate_paths['clients']['health_monitor']['certificate_path'] %>

director: &director
  endpoint: <%= director_url %>
  user: hm
  password: pass
  client_id: hm
  client_secret: secret
  ca_cert: <%= certificate_path %>

intervals:
  poll_director: 5
  poll_grace_period: 5
  log_stats: 10
  analyze_agents: 10
  agent_timeout: 10
  rogue_agent_alert: 20
  vm_start_timeout: 5

loglevel: debug

plugins:
  - name: logger
    events:
      - alert
      - heartbeat
  - name: resurrector
    events:
      - alert
    options:
      director: *director
  - name: event_logger
    events:
      - alert
    options:
      director: *director
